90201: All tests
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Geoff Shuetrim |
|
geoff@galexy.net | 30-01-2008 at 00:00:00 | |
Herm Fischer |
|
fischer@markv.com | 31-01-2010 at 16:55:00 | |
David North |
|
dtn@corefiling.com | 05-08-2011 at 17:16:20 | |
Peter Cowan |
|
prc@corefiling.com | 20-05-2013 at 11:58:00 |
Test Case Variations
V-01
Works for a credit concept.
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V01)
-
Function Call:
xfi:concept-balance(fn:node-name(/xbrli:xbrl/concept:c1[1]))
(against file V01)
Outputs
-
Result test:
count( $result ) eq 1 and $result eq 'credit'
V-02
Works for a debit concept.
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V02)
-
Function Call:
xfi:concept-balance(fn:node-name(/xbrli:xbrl/concept:c2[1]))
(against file V02)
Outputs
-
Result test:
count( $result ) eq 1 and $result eq 'debit'
V-03
Works for an unclassified concept.
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V03)
-
Function Call:
xfi:concept-balance(fn:node-name(/xbrli:xbrl/concept:c3[1]))
(against file V03)
Outputs
-
Result test:
count( $result ) eq 1 and $result eq ''
V-04
Non-concept QName passed to function should raise an error.
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V04)
-
Function Call:
xfi:concept-balance(fn:node-name(/xbrli:xbrl))
(against file V04)
Outputs
- Error code: xfie:invalidConceptQName
V-05
Wrong node to function
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V05)
-
Function Call:
xfi:concept-balance(/xbrli:xbrl)
(against file V05)
Outputs
- Error code: xqt-err:FOTY0012
V-06
Wrong node to function (token)
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V06)
-
Function Call:
xfi:concept-balance(/xbrli:xbrl/xbrli:context[@id='context']/xbrli:entity/xbrli:identifier[1])
(against file V06)
Outputs
- Error code: xqt-err:XPTY0004
V-07
Wrong node to function (monetary)
Documentation
Inputs
- schema: balance.xsd
- instance: instance.xml (DTS Discovery starting point) (ID=V07)
-
Function Call:
xfi:concept-balance(/xbrli:xbrl/concept:c1[1])
(against file V07)
Outputs
- Error code: xqt-err:XPTY0004
Revisions
Name | On | Details |
---|---|---|
Geoff Shuetrim | 04-02-2008 at 14:30:00 |
|
Herm Fischer | 31-01-2010 at 16:55:00 |
|
Herm Fischer | 04-02-2010 at 08:00:00 |
|
Herm Fischer | 11-09-2010 at 00:00:00 |
|
David North | 11-09-2010 at 00:00:00 |
|
Peter Cowan | 20-05-2013 at 11:58:00 |
|
Herm Fischer | 27-01-2014 at 16:00:00 |
|